<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/1resource/template/AuxilaryMenu.xhtml"
	xmlns:p="http://primefaces.org/ui">

	<ui:define name="AuxToolbar">
		<p:menubar>
			<p:menuitem value="New" />
			<p:menuitem value="Delete" />
			<p:submenu>
				<p:panel>
					<h:panelGrid columns="2" cellpadding="5">
						<p:selectBooleanCheckbox value="#{customerBean.allCustomers}" />
						<h:outputText value="Basic Usage" />

						<p:selectBooleanCheckbox value="#{customerBean.onlyRealCustomer}" />
						<h:outputText value="Basic Usage" />

						<p:selectBooleanCheckbox value="#{customerBean.onlyDummyCustomer}" />
						<h:outputText value="Dummy Customer" />
					</h:panelGrid>
				</p:panel>
			</p:submenu>
		</p:menubar>
	</ui:define>
	<ui:define name="AuxSearch">
		<p:panel header="searchMenu">
			<h:panelGrid columns="1" cellpadding="5">
				<p:inputText id="keywordSearch" value="#{customerBean.searchFilter}">
<!-- 					<p:ajax event="keyup" listener="#{customerBean.updateCustomers()}" update="mainContent" /> -->
					<p:watermark for="keywordSearch" value="Search keyword" />
				</p:inputText>
			</h:panelGrid>
		</p:panel>
	</ui:define>

</ui:composition>